<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!doctype html>
<html lang="zh-CN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="aa" uri="/WEB-INF/tld/ajaxanywhere.tld" %>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>jsp</title>
    <script src="/webjars/jquery/3.5.1/jquery.js"></script>
    <script src="/aa.js"></script>
    <script src="/dialog.js"></script>
</head>
<body>
<button onclick="showDialog()">ShowDialog</button>
<br/>
<label>ID</label> <input type="text" id="parent_id" value=""/>
<label>NAME</label> <input type="text" id="parent_name" value=""/>
<label>CREATE_DATE</label> <input type="text" id="parent_date" value=""/>

</body>
<script type="text/javascript">
    function showDialog(){
        show(
            {
                url:'dialog?name=dialog',
                name:'son',
                width:500,
                height:500
            }
        )
    }

    function closeDialog(){
        myclose();
    }

</script>

</html>
